package com.fll.server.metrics;

/**
 *
 * 度量
 *
 * @author fanlei
 * @version 1.0
 * @date 2019年01月25日
 */
public class Metrics {
    private static final long serialVersionUID = 1L;
    private int port;
    private long readBytes;
    private long wroteBytes;
    private long readMsgs;
    private long wroteMsgs;
    private int channels;
    private long timestamp;

    public Metrics() {
    }

    public long getReadBytes() {
        return this.readBytes;
    }

    public void setReadBytes(long readBytes) {
        this.readBytes = readBytes;
    }

    public long getWroteBytes() {
        return this.wroteBytes;
    }

    public void setWroteBytes(long wroteBytes) {
        this.wroteBytes = wroteBytes;
    }

    public long getReadMsgs() {
        return this.readMsgs;
    }

    public void setReadMsgs(long readMsgs) {
        this.readMsgs = readMsgs;
    }

    public long getWroteMsgs() {
        return this.wroteMsgs;
    }

    public void setWroteMsgs(long wroteMsgs) {
        this.wroteMsgs = wroteMsgs;
    }

    public int getChannels() {
        return this.channels;
    }

    public void setChannels(int channels) {
        this.channels = channels;
    }

    public long getTimestamp() {
        return this.timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getPort() {
        return this.port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}
